<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.select_width{
   width:130px;
}
</style>

<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="basicInfo1" cellspacing="1">
	<col style="width:15%"/>
	<col style="width:35%"/>
	<col style="width:15%"/>
	<col style="width:35%"/>

	<tr class="li_1">
		<td   colspan="4" class="t_bar2">基本信息</td>
	</tr>
	<tr class="li_2">
		<td   align="right" ><span class="color_red">*</span>产品名称及型号、<br/>规格：</td>
		<td colspan="3">
			<input id="zh_title"  name="proposal/zh_title" label="产品名称及型号、规格" type="text"  class="input_css required maxlength:36"  style="width:638px" maxlength="36" value="<x:out select="$xmlData/data/proposal/zh_title" />"/> 
		</td>
	</tr>
	

	
	
	<tr class="li_1">
	  <td   align="right" ><span class="color_red">*</span>项目计划编号：</td>
		<td>
			<input  name="proposal/plan_number" label="项目计划编号" type="text" required class="input_css required maxlength:100"  maxlength="100" value="<x:out select="$xmlData/data/proposal/plan_number" />"/> 
		</td>
		<td   align="right" ><span class="color_red">*</span>新产品证书鉴定号：</td>
		<td>
		赣科新鉴字<c:set var="current_year"><x:out select="$xmlData/data/proposal/current_year_value" /></c:set>
			<cpt:select id="current_year"  style="width:55px;"  key="current_year"  value="${current_year}" onChange="initControlValue(this.id);"></cpt:select>
			<input type="hidden" id="current_year_value" name="proposal/current_year_value" class="required" value="${current_year}" label="新产品证书鉴定号年度">
			<input type="hidden" name="proposal/current_year_name" value="<x:out select="$xmlData/data/proposal/current_year_name" />">
		第<input  name="proposal/identify_number" label="新产品证书鉴定号序号" type="text"  class="input_css required" style="text-align:right;width:30px;" onfocus="InitInput.setNumber(this,3,0,0,null,null,true)"  value="<x:out select="$xmlData/data/proposal/identify_number" />"/> 号
		</td>
	</tr>
		
		
	<tr class="li_2">
	<td  align="right" nowrap><span class="color_red">*</span>技术领域：</td>
	<td colspan="" nowrap="nowrap">
			 <c:set var="grantCode"><x:out select="$xmlData/data/proposal/grant_code" /></c:set>
			<c:set var="sub"><x:out select="$xmlData/data/proposal/sub_grant_code" /></c:set>
			
			<c:set var="researcharea">{'id':'<x:out select="$xmlData/data/proposal/researcharea_value" />','name':'<x:out select="$xmlData/data/proposal/researcharea_name" />'}</c:set>
	
      <cpt:tree key="researcharea1" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${researcharea}"  label="技术领域"
          		  id="researcharea" onlyChooseLeaf="true" showPattern="all" shieldPattern="-1" onClick="localInitTreeValue" topCheckbox="false"  sqlParamVal="{grant_code:${sub},stat_year:${param.statYear }}"/>
	       <input id="researcharea_value" type="hidden" name="proposal/researcharea_value" class="required" label="技术领域" value="<x:out select="$xmlData/data/proposal/researcharea_value" />"/>
         <input id="researcharea_name" type="hidden" name="proposal/researcharea_name"  value="<x:out select="$xmlData/data/proposal/researcharea_name" />"/>
       
        <input type="button" onclick="info();" value="特殊技术领域说明" style="height:23px;" class="button_01">
	</td>
	
	
	<td  align="right" nowrap><span class="color_red">*</span>行业领域(即产品应用领域)：</td>
	<td >
			<c:set var="industry_field"><x:out select="$xmlData/data/proposal/industry_field_value" /></c:set>
			<cpt:select id="industry_field"  style="width:162px;"  key="industry_field"  value="${industry_field}" onChange="initControlValue(this.id);"></cpt:select>
			<input type="hidden" id="industry_field_value" name="proposal/industry_field_value" class="required" value="${industry_field}" label="行业领域">
			<input type="hidden" name="proposal/industry_field_name" value="<x:out select="$xmlData/data/proposal/industry_field_name" />">
	</td>
	</tr>
		
		
 <tr class="li_1">
	<td  align="right" nowrap><span class="color_red">*</span>技术来源：</td>
	<td >
			<c:set var="tech_source2"><x:out select="$xmlData/data/proposal/tech_source2_value" /></c:set>
			<cpt:select id="tech_source2"  style="width:162px;"  key="tech_source2"  value="${tech_source2}" onChange="initControlValue(this.id);showText1(this.value);showText2(${government_subsidize_value})"></cpt:select>
			<input type="hidden" id="tech_source2_value" name="proposal/tech_source2_value" class="required" value="${tech_source2}" label="技术来源">
			<input type="hidden" name="proposal/tech_source2_name" value="<x:out select="$xmlData/data/proposal/tech_source2_name" />">
	</td>
		
		
	<td  align="right" nowrap><span class="color_red" style="display:none" id="sign1">*</span>政府资助：</td>
	<td >
			<c:set var="government_subsidize"><x:out select="$xmlData/data/proposal/government_subsidize_value" /></c:set>
			<cpt:select id="government_subsidize"  style="width:162px;"  key="government_subsidize"  value="${government_subsidize}" onChange="initControlValue(this.id);showText2(this.value)"></cpt:select>
			<input type="hidden" id="government_subsidize_value" name="proposal/government_subsidize_value" class="" value="${government_subsidize}" label="政府资助" >
			<input type="hidden" id="government_subsidize_name" name="proposal/government_subsidize_name" value="<x:out select="$xmlData/data/proposal/government_subsidize_name" />">
	</td>
</tr>
		
	
	
	



	<tr id="tr_1" class="li_2">
	  <td   align="right"><span class="color_red">*</span>计划类别：</td>
		<td>
			<input id="plan_type" name="proposal/plan_type" label="计划类别" type="text"  class="input_css  maxlength:50"  maxlength="50" value="<x:out select="$xmlData/data/proposal/plan_type" />"/> 
		</td>
		<td   align="right"><span class="color_red" >*</span>项目编号：</td>
		<td>
			<input id="new_product_number1"  name="proposal/new_product_number1" label="项目编号" type="text"  class="input_css  maxlength:50"  maxlength="50" value="<x:out select="$xmlData/data/proposal/new_product_number1" />"/> 
		</td>
	</tr>
	<tr id="tr_2" class="li_1">
		<td   align="right" ><span class="color_red">*</span>项目名称：</td>
		<td   colspan="3">
			<input id="project_name"  name="proposal/project_name" label="项目名称" type="text"  class="input_css  maxlength:50"  style="width:638px" maxlength="50" value="<x:out select="$xmlData/data/proposal/project_name" />"/> 
		</td>
	</tr>


	
	<tr class="li_2">
	<td align="right"><span class="color_red">*</span>开发形式：</td>
	<td nowrap colspan="1" valign="middle">
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="research_type" label="合作开发" value="01" /><span style="vertical-align: middle;">合作开发</span></label> &nbsp;&nbsp;&nbsp;
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="research_type" label="独立开发" value="02" /><span style="vertical-align: middle;">独立开发</span></label> &nbsp;&nbsp;&nbsp;
	<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="research_type" label="引进消化吸收" value="03" /><span style="vertical-align: middle;">引进消化吸收</span></label>&nbsp;&nbsp;&nbsp;
	<label> <input type="radio" class="do " id="advant_04" style="vertical-align: middle;" name="research_type" label="其他" value="04" /><span style="vertical-align: middle;">其他</span></label>
	<input type="hidden" name="proposal/research_type_value" id="research_type_value" class="required" value="<x:out select="$xmlData/data/proposal/research_type_value" />" label="开发形式" /> 
	<input type="hidden" name="proposal/research_type_name" id="research_type_name" value="<x:out select="$xmlData/data/proposal/research_type_name" />" label="开发形式" />
	</td>
	
	
	 <td align="right"><span class="color_red">*</span>采标情况：</td>
		<td colspan="2">
		    <c:set var="caibiao_type"><x:out select="$xmlData/data/proposal/caibiao_type_value" /></c:set>
		    <cpt:select id="caibiao_type" key="caibiao2" onChange="initControlValue(this.id)" value="${caibiao_type}"  style="width:162px;"></cpt:select> 
		    <input id="caibiao_type_value" name="proposal/caibiao_type_value" type="hidden"  class="required" value="${caibiao_type}" label="采标情况" />
		    <input id="caibiao_type_name" name="proposal/caibiao_type_name" type="hidden" value="<x:out select="$xmlData/data/proposal/caibiao_type_name" />" />
		    
		</td>
	</tr>

	
	
	<tr class="li_1">
	<td align="right"><span class="color_red">*</span>获奖情况：</td>
	<td nowrap colspan="3" valign="middle">
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="reward_condition" label="国家级奖" value="01" /><span style="vertical-align: middle;">国家级奖</span></label> &nbsp;&nbsp;&nbsp;
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="reward_condition" label="省部级奖" value="02" /><span style="vertical-align: middle;">省部级奖</span></label> &nbsp;&nbsp;&nbsp;
	<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="reward_condition" label="无" value="03" /><span style="vertical-align: middle;">无</span></label>&nbsp;&nbsp;&nbsp;
	<input type="hidden" name="proposal/reward_condition_value" id="reward_condition_value" class="required" value="<x:out select="$xmlData/data/proposal/reward_condition_value" />" label="获奖情况" /> 
	<input type="hidden" name="proposal/reward_condition_name" id="reward_condition_name" value="<x:out select="$xmlData/data/proposal/reward_condition_name" />" label="获奖情况" />
	</td>
	


 <%--  <td align="right"><span class="color_red">*</span>申报类型：</td>
  <td>
			<input id="declaration_type"  name="proposal/declaration_type" label="申报类型" type="text"  class="input_css  maxlength:50 required"  maxlength="50" value="<x:out select="$xmlData/data/proposal/declaration_type" />"/> 
		</td> --%>

	</tr>
	
	
	
	
	
	
	
	
	<tr class="li_2">
	    <td  align="right" ><span class="color_red">*</span>申报日期：</td>
		<td>
			<c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
			<cpt:date id="submit_date" name="proposal/submit_date" value="${submit_date}" className=" required date" label="${param.title}-->申报日期"></cpt:date> 
		</td>
		<td align="right">归口管理部门：</td>
		<td>
		    <span name="proposal/tjbm_org_name"><x:out select="$xmlData/data/proposal/tjbm_org_name"/></span>
		</td>
	</tr>
	
	</table>
	
	
	
	<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="basicInfo2" cellspacing="1">
	<col style="width:16.6%"/>
	<col style="width:16.6%"/>
	<col style="width:16.6%"/>
	<col style="width:16.6%"/>
	<col style="width:16.6%"/>
	<col style="width:17%"/>

	<tr class="li_1">
		<td   colspan="6" class="t_bar2">知识产权情况</td>
	</tr>
	
	
	<tr align="center" class="li_2">
	<td rowspan="2">类型</td>
	<td colspan="3">专利情况</td>
	<td rowspan="2">计算机软件著作权证（件）</td>
	<td rowspan="2">集成电路布图设计证（件）</td>
	</tr>
	<tr align="center" class="li_1">
	<td>发明</td>
	<td>实用新型</td>
	<td>外观设计</td>
	</tr>
	
	<tr align="center" class="li_2">
	<td>申请数量</td>
	<td  align="center"><input type="text"  label="专利情况-->发明-->申请数量"  name="property_condition/apply1" id="apply1"   style="text-align:right;width:80%" onfocus="InitInput.setNumber(this,7,0,0)" class="input_css valueGreatEqual:apply1:apply2"  value="<x:out select="$xmlData/data/property_condition/apply1" />" /></td>
	<td  align="center"><input type="text"  label="专利情况-->实用新型-->申请数量"  name="property_condition/new_type1" id="new_type1"   style="text-align:right;width:80%" onfocus="InitInput.setNumber(this,7,0,0)" class="input_css valueGreatEqual:new_type1:new_type2"  value="<x:out select="$xmlData/data/property_condition/new_type1" />" /></td>
	<td  align="center"><input type="text"  label="专利情况-->外观设计-->申请数量"  name="property_condition/design1" id="design1"   style="text-align:right;width:80%" onfocus="InitInput.setNumber(this,7,0,0)" class="input_css valueGreatEqual:design1:design2"  value="<x:out select="$xmlData/data/property_condition/design1" />" /></td>
	<td  align="center" rowspan="2"><input type="text"  label="计算机软件著作权证（件）"  name="property_condition/number1" id="number1" onchange="showText100()"  style="text-align:right;width:80%" onfocus="InitInput.setNumber(this,7,0,0)" class="input_css"  value="<x:out select="$xmlData/data/property_condition/number1" />" /></td>
	<td  align="center" rowspan="2"><input type="text"  label="集成电路布图设计证（件）"  name="property_condition/number2" id="number2" onchange="showText100()"  style="text-align:right;width:80%" onfocus="InitInput.setNumber(this,7,0,0)" class="input_css"  value="<x:out select="$xmlData/data/property_condition/number2" />" /></td>
	</tr>
	
	<tr align="center">
	<td>授权数量</td>
	<td  align="center"><input type="text"  label="专利情况-->发明-->授权数量"  name="property_condition/apply2" id="apply2"  onchange="showText100()"  style="text-align:right;width:80%" onfocus="InitInput.setNumber(this,7,0,0)" class="input_css"  value="<x:out select="$xmlData/data/property_condition/apply2" />" /></td>
	<td  align="center"><input type="text"  label="专利情况-->实用新型-->授权数量"  name="property_condition/new_type2" id="new_type2"  onchange="showText100()" style="text-align:right;width:80%" onfocus="InitInput.setNumber(this,7,0,0)" class="input_css"  value="<x:out select="$xmlData/data/property_condition/new_type2" />" /></td>
	<td  align="center"><input type="text"  label="专利情况-->外观设计-->授权数量"  name="property_condition/design2" id="design2"  onchange="showText100()" style="text-align:right;width:80%" onfocus="InitInput.setNumber(this,7,0,0)" class="input_css"  value="<x:out select="$xmlData/data/property_condition/design2" />" /></td>
	</tr>
	
	
	
	
	<tr class="li_2">
	<td rowspan="3" align="center">知识产权及使用方式</td>
	<td nowrap colspan="5" valign="middle">
	<span class="color_red">*</span>产权情况<br/>
	
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="property_type" label="本单位独立开发， 拥有技术的全部所有权" value="01" /><span style="vertical-align: middle;">本单位独立开发， 拥有技术的全部所有权</span></label><br/>
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="property_type" label="本单位与外单位合作开发， 联合拥有技术的所有权" value="02" /><span style="vertical-align: middle;">本单位与外单位合作开发， 联合拥有技术的所有权</span></label><br/>
	<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="property_type" label="由外单位技术转让， 本单位拥有技术的全部所有权" value="03" /><span style="vertical-align: middle;">由外单位技术转让， 本单位拥有技术的全部所有权</span></label><br/>
	<label> <input type="radio" class="do " id="advant_04" style="vertical-align: middle;" name="property_type" label="由外单位技术许可，本单位拥有技术的使用权，但无所有权" value="04" /><span style="vertical-align: middle;">由外单位技术许可，本单位拥有技术的使用权，但无所有权</span></label><br/>
	<label> <input type="radio" class="do " id="advant_05" style="vertical-align: middle;" name="property_type" label="本单位与技术所有者或持有者协议合作生产" value="05" /><span style="vertical-align: middle;">本单位与技术所有者或持有者协议合作生产</span></label><br/>
	<label> <input type="radio" class="do " id="advant_06" style="vertical-align: middle;" name="property_type" label="其他" value="06" /><span style="vertical-align: middle;">其他</span></label>
	<input type="hidden" name="proposal/property_type_value" id="property_type_value" class="required" value="<x:out select="$xmlData/data/proposal/property_type_value" />" label="知识产权及使用方式-->产权情况" /> 
	<input type="hidden" name="proposal/property_type_name" id="property_type_name" value="<x:out select="$xmlData/data/proposal/property_type_name" />" />
	</td>
	</tr>
	<tr class="li_1">
	<td align="right">相关单位名称：</td>
	<td colspan="4"><input id="related_org_name"  name="proposal/related_org_name" label="相关单位名称" type="text"  class="input_css  maxlength:100"  style="width:638px" maxlength="100" value="<x:out select="$xmlData/data/proposal/related_org_name" />"/></td> 
	</tr>
	
	<tr class="li_2">
	<td align="right"><span class="color_red">*</span>关于技术权益简要说明（限120字）：</td>
  <td colspan="4"><textarea rows="8" style="width:98%;" name='proposal/property_condition/description' class="input_textarea required  maxlength:120"   label="知识产权及使用方式-->关于技术权益简要说明"><x:out select="$xmlData/data/proposal/property_condition/description"/></textarea>
	    <input type='hidden' name='proposal/property_condition/description_hidden' id='proposal/property_condition/description_hidden' value=''>
	</td>
	</tr>
	</table>
	
	
	
	
	<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="" cellspacing="1">
	<tr class="">
		<td   colspan="4" class="t_bar2">产品研发情况</td>
	</tr>
	<tr class="">
		<td   colspan="4" class="t_bar2">（1）企业研发团队情况</td>
	</tr>
	<tr class="li_1">
          <td align="left"><span class="color_red">*</span><strong>企业研发团队（个）</strong></td>
  </tr>
	<table  id="tblMileStones1" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="organization_finances/financeborder:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="10%">选择</th>
						<th class="TblHead" align="center"  width="10%">序号</th>
						<th class="TblHead" align="center"  width="80%">团队名称</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center"><input type="radio" class="radiobutton" name="selMileStones1"></td>
						<td align="center"><span name="milestones|milestone1[0]@seq_no" >[index]</span></td>
						<td align="center"><input name="milestones|milestone1[0]|content1" label="团队名称" value="" class="required input_text "  maxlength="100" style="width:90%" /></td>
					</tr>
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/milestones/milestone1" var="milestone1">
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center"><input type="radio" class="radiobutton" name="selMileStones1" ></td>
						<td align="center"><span   name="milestones/milestone1[${flag}${index}]@seq_no" ><x:out select="$milestone1/@seq_no"/></span></td>
						<td align="center"><input value="<x:out select="$milestone1/content1"/>" label="团队名称" name="milestones/milestone1[${flag}${index}]/content1" maxlength="100" class="required"  style="width:90%"  /></td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblMileStones1");
					</script>
				</tbody>
					</table>
				
					<table width="91%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblMileStones1',99,'企业研发团队最多只能填写99条')){addNewRow('tblMileStones1');showDateTag('tblMileStones1');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblMileStones1','selMileStones1')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblMileStones1','selMileStones1')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblMileStones1','企业研发团队')">
					</td></tr>
	</table>
	
	
	<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="" cellspacing="1">
	<tr class="li_1">
          <td align="left"><strong>企业团队人才获批类别（国家、省、市）</strong></td>
  </tr>
  </table>
	<table  id="tblMileStones2" cellpadding="0" class="table02 t_css" width="200%" border="0" cellpadding="0" style="*border-bottom: #a2c0dc 2px solid;">
			<thead >
					<tr style="organization_finances/financeborder:2px solid #B7D2E6">
						<th class="TblHead" align="center"  width="10%">选择</th>
						<th class="TblHead" align="center"  width="10%">序号</th>
						<th class="TblHead" align="center"  width="80%">类别名称</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center"><input type="radio" class="radiobutton" name="selMileStones2"></td>
						<td align="center"><span name="milestones|milestone2[0]@seq_no" >[index]</span></td>
						<td align="center"><input name="milestones|milestone2[0]|content2" label="类别名称" value="" class="required input_text "  maxlength="100" style="width:90%" /></td>
					</tr>
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/milestones/milestone2" var="milestone2">
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center"><input type="radio" class="radiobutton" name="selMileStones2" ></td>
						<td align="center"><span   name="milestones/milestone2[${flag}${index}]@seq_no" ><x:out select="$milestone2/@seq_no"/></span></td>
						<td align="center"><input value="<x:out select="$milestone2/content2"/>" label="类别名称" name="milestones/milestone2[${flag}${index}]/content2" maxlength="100" class="required"  style="width:90%"  /></td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblMileStones2");
					</script>
				</tbody>
					</table>
					<table width="92%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblMileStones2',99,'企业团队人才获批类别最多只能填写99条')){addNewRow('tblMileStones2');showDateTag('tblMileStones2');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblMileStones2','selMileStones2')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblMileStones2','selMileStones2')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblMileStones2','企业团队人才获批类别')">
					</td></tr>
	</table>

	<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="basicInfo3" cellspacing="1">
	<col style="width:15%"/>
	<col style="width:35%"/>
	<col style="width:15%"/>
	<col style="width:35%"/>
  <tr class="li_2">
	<td align="right"><span class="color_red">*</span>研发开始时间：</td>
  <td colspan="3">
			<c:set var="start_date"><x:out select="$xmlData/data/proposal/start_date" /></c:set>
			<cpt:date id="start_date" name="proposal/start_date" value="${start_date}" className="required date" label="研发开始时间" ></cpt:date> 
	</td>
  </tr>
  

  <tr class="li_1">
  <td align="right" nowrap="nowrap"><span class="color_red">*</span>累计研发投入(万元)：</td>
  <td><input type="text"  label="累计研发投入"  name="research_condition/number1" id="number1"   style="text-align:right;" onfocus="InitInput.setNumber(this,7,2,2)" class="input_css required"  value="<x:out select="$xmlData/data/research_condition/number1" />" /></td>
  <td align="right" nowrap="nowrap"><span class="color_red">*</span>至批产时总投入(万元)：</td>
  <td><input type="text"  label="至批产时总投入"  name="research_condition/number2" id="number2"   style="text-align:right;" onfocus="InitInput.setNumber(this,7,2,2)" class="input_css required"  value="<x:out select="$xmlData/data/research_condition/number2" />" /></td>
  </tr>


 




  <tr class="li_1">
  <td align="left" colspan="4"><strong><span class="color_red">*</span>研发团队主要技术负责人简介（限120字）</strong></td>
  </tr>
  <tr>
  <td colspan="4"><textarea rows="4" style="width:98%;" name='proposal/research_condition/description' class="input_textarea required  maxlength:120"   label="研发团队主要技术负责人简介"><x:out select="$xmlData/data/proposal/research_condition/description"/></textarea>
	<input type='hidden' name='proposal/research_condition/description_hidden' id='proposal/research_condition/description_hidden' value=''>
	</td>
  </tr>
	</table>
	</table>
	
	
	<table class="t_css table01" style="width:100%" border="0" cellpadding="0" id="basicInfo4" cellspacing="1">
	<col style="width:15%"/>
	<col style="width:30%"/>
	<col style="width:15%"/>
	<col style="width:35%"/>
	<tr class="">
		<td  colspan="4" class="t_bar2">（2）企业研发平台</td>
	</tr>
  <tr class="li_1">
  <td align="right">重点实验室：</td>
  <td nowrap  colspan="" valign="middle">
	<label> <input type="checkbox" class="do" id="type1_01" style="vertical-align: middle;" name="type1" label="国家级" value="01" onclick="showText3(this);"/><span style="vertical-align: middle;">国家级</span></label>&nbsp; &nbsp; &nbsp;  
	<label> <input type="checkbox" class="do" id="type1_02" style="vertical-align: middle;" name="type1" label="省级" value="02" onclick="showText3(this);"/><span style="vertical-align: middle;">省级</span></label>&nbsp; &nbsp; &nbsp; 
	<label> <input type="checkbox" class="do" id="type1_03" style="vertical-align: middle;" name="type1" label="部门" value="03" onclick="showText3(this);"/><span style="vertical-align: middle;">部门</span></label>&nbsp; &nbsp; &nbsp; 
	<label> <input type="checkbox" class="do" id="type1_04" style="vertical-align: middle;" name="type1" label="市级" value="04" onclick="showText3(this);"/><span style="vertical-align: middle;">市级</span></label>&nbsp; &nbsp; &nbsp; 
	<input type="hidden" name="proposal/research_platform/type1_value" id="type1_value" class="" value="<x:out select="$xmlData/data/proposal/research_platform/type1_value" />" label="重点实验室" /> 
	<input type="hidden" name="proposal/research_platform/type1_name" id="type1_name" value="<x:out select="$xmlData/data/proposal/research_platform/type1_name" />" label="重点实验室" />
	</td>
  <td align="right"><span class="color_red" style="display: none" id="type1">*</span>重点实验室名称：</td>
  <td><input  name="proposal/research_platform/type1_type"  id="type1_type"   label="重点实验室名称"  type="text"  class="input_css  maxlength:50"  maxlength="50" value="<x:out select="$xmlData/data/proposal/research_platform/type1_type" />"/></td>
  </tr>
	
	<tr class="li_2">
  <td align="right">工程中心：</td>
  <td nowrap  colspan="" valign="middle">
	<label> <input type="checkbox" class="do" id="type2_01" style="vertical-align: middle;" name="type2" label="国家级" value="01" onclick="showText3(this);"/><span style="vertical-align: middle;">国家级</span></label>&nbsp; &nbsp; &nbsp;  
	<label> <input type="checkbox" class="do" id="type2_02" style="vertical-align: middle;" name="type2" label="省级" value="02" onclick="showText3(this);"/><span style="vertical-align: middle;">省级</span></label>&nbsp; &nbsp; &nbsp; 
	<label> <input type="checkbox" class="do" id="type2_03" style="vertical-align: middle;" name="type2" label="部门" value="03" onclick="showText3(this);"/><span style="vertical-align: middle;">部门</span></label>&nbsp; &nbsp; &nbsp; 
	<label> <input type="checkbox" class="do" id="type2_04" style="vertical-align: middle;" name="type2" label="市级" value="04" onclick="showText3(this);"/><span style="vertical-align: middle;">市级</span></label>&nbsp; &nbsp; &nbsp; 
	<input type="hidden" name="proposal/research_platform/type2_value" id="type2_value" class="" value="<x:out select="$xmlData/data/proposal/research_platform/type2_value" />" label="工程中心" /> 
	<input type="hidden" name="proposal/research_platform/type2_name" id="type2_name" value="<x:out select="$xmlData/data/proposal/research_platform/type2_name" />" label="工程中心" />
	</td>
  <td align="right"><span class="color_red" style="display: none" id="type2">*</span>工程中心名称：</td>
  <td><input  name="proposal/research_platform/type2_type"  id="type2_type"  label="工程中心名称"  type="text"  class="input_css  maxlength:50"  maxlength="50" value="<x:out select="$xmlData/data/proposal/research_platform/type2_type" />"/></td>
  </tr>
	
	
	<tr class="li_1">
  <td align="right">企业技术研发中心：</td>
  <td nowrap  colspan="" valign="middle">
	<label> <input type="checkbox" class="do" id="type3_01" style="vertical-align: middle;" name="type3" label="国家级" value="01" onclick="showText3(this);"/><span style="vertical-align: middle;">国家级</span></label>&nbsp; &nbsp; &nbsp;  
	<label> <input type="checkbox" class="do" id="type3_02" style="vertical-align: middle;" name="type3" label="省级" value="02" onclick="showText3(this);"/><span style="vertical-align: middle;">省级</span></label>&nbsp; &nbsp; &nbsp; 
	<label> <input type="checkbox" class="do" id="type3_03" style="vertical-align: middle;" name="type3" label="部门" value="03" onclick="showText3(this);"/><span style="vertical-align: middle;">部门</span></label>&nbsp; &nbsp; &nbsp; 
	<label> <input type="checkbox" class="do" id="type3_04" style="vertical-align: middle;" name="type3" label="市级" value="04" onclick="showText3(this);"/><span style="vertical-align: middle;">市级</span></label>&nbsp; &nbsp; &nbsp; 
	<input type="hidden" name="proposal/research_platform/type3_value" id="type3_value" class="" value="<x:out select="$xmlData/data/proposal/research_platform/type3_value" />" label="企业技术研发中心" /> 
	<input type="hidden" name="proposal/research_platform/type3_name" id="type3_name" value="<x:out select="$xmlData/data/proposal/research_platform/type3_name" />" label="企业技术研发中心" />
	</td>
  <td align="right"><span class="color_red" style="display: none" id="type3">*</span>企业技术研发中心名称：</td>
  <td><input  name="proposal/research_platform/type3_type"    id="type3_type" label="企业技术研发中心名称"  type="text"  class="input_css  maxlength:50"  maxlength="50" value="<x:out select="$xmlData/data/proposal/research_platform/type3_type" />"/></td>
  </tr>
	
	
	<tr class="li_2">
  <td align="right">企业研发基地：</td>
  <td nowrap  colspan="" valign="middle">
	<label> <input type="checkbox" class="do" id="type4_01" style="vertical-align: middle;" name="type4" label="国家级" value="01" onclick="showText3(this);"/><span style="vertical-align: middle;">国家级</span></label>&nbsp; &nbsp; &nbsp;  
	<label> <input type="checkbox" class="do" id="type4_02" style="vertical-align: middle;" name="type4" label="省级" value="02" onclick="showText3(this);"/><span style="vertical-align: middle;">省级</span></label>&nbsp; &nbsp; &nbsp; 
	<label> <input type="checkbox" class="do" id="type4_03" style="vertical-align: middle;" name="type4" label="部门" value="03" onclick="showText3(this);"/><span style="vertical-align: middle;">部门</span></label>&nbsp; &nbsp; &nbsp; 
	<label> <input type="checkbox" class="do" id="type4_04" style="vertical-align: middle;" name="type4" label="市级" value="04" onclick="showText3(this);"/><span style="vertical-align: middle;">市级</span></label>&nbsp; &nbsp; &nbsp; 
	<input type="hidden" name="proposal/research_platform/type4_value" id="type4_value" class="" value="<x:out select="$xmlData/data/proposal/research_platform/type4_value" />" label="企业研发基地" /> 
	<input type="hidden" name="proposal/research_platform/type4_name" id="type4_name" value="<x:out select="$xmlData/data/proposal/research_platform/type4_name" />" label="企业研发基地" />
	</td>
  <td align="right"><span class="color_red" style="display: none" id="type4">*</span>企业研发基地名称：</td>
  <td><input  name="proposal/research_platform/type4_type"  id="type4_type" label="企业研发基地名称"  type="text"  class="input_css  maxlength:50"  maxlength="50" value="<x:out select="$xmlData/data/proposal/research_platform/type4_type" />"/></td>
  </tr>
	
	
	
	
	
	</table>
	
	
<script type="text/javascript">



function showText1(obj){
	  
	  if(obj=='01'){
		  $("#sign1").show();
		  $("#government_subsidize_value").addClass("required");
		  $("#government_subsidize").attr("disabled",false);
		  $("#government_subsidize").removeClass("gray");
	  }else{
		  $("#sign1").hide();
		  $("#government_subsidize_name").val("");
		  $("#government_subsidize_value").val("");
		  $("#government_subsidize").val("");
		  $("#government_subsidize_value").removeClass("required");
		  $("#government_subsidize").attr("disabled",true);
		  $("#government_subsidize").addClass("gray");
	  }  
}


 
 function showText2(obj){

	 if(obj=='01'||obj=="03"){
		 
		 $("#tr_1").show();
		 $("#tr_2").show();
		 
		 $("#plan_type").addClass("required");
		 $("#new_product_number1").addClass("required");
		 $("#project_name").addClass("required");	 
 }else{
	 
	   $("#tr_1").hide();
	   $("#tr_2").hide();
		 $("#plan_type").val("");
		 $("#new_product_number1").val("");
		 $("#project_name").val("");
		 
		 $("#plan_type").removeClass("required");
		 $("#new_product_number1").removeClass("required");
		 $("#project_name").removeClass("required");	 
		 }
	 }
 
 
 
 
 function showText3(obj){
	 if($("#"+$(obj).attr("name").substring(0,5)+"_01").attr("checked")=="checked"||
			$("#"+$(obj).attr("name").substring(0,5)+"_02").attr("checked")=="checked"||
			$("#"+$(obj).attr("name").substring(0,5)+"_03").attr("checked")=="checked"||
			$("#"+$(obj).attr("name").substring(0,5)+"_04").attr("checked")=="checked"
	 ){
		  $("#"+$(obj).attr("name").substring(0,5)).show();
		  $("#"+$(obj).attr("name").substring(0,5)+"_type").addClass("required");
	  }else{
		  $("#"+$(obj).attr("name").substring(0,5)).hide();
			$("#"+$(obj).attr("name").substring(0,5)+"_type").removeClass("required");
        }
 }
 
 
 
 
 function showText100(){
	 if(( $("#number1").val() != "" && $("#number1").val() != 0 )||
			( $("#number2").val() != "" && $("#number2").val() != 0 )||
			( $("#apply2").val() != "" && $("#apply2").val() != 0 )||
			( $("#new_type2").val() != "" && $("#new_type2").val() != 0 )||
			(	$("#design2").val() != "" && $("#design2").val() != 0) )
	 {
		 $("#sign20").show();
		 $("#text6").addClass("required");
	 } else{
		 $("#sign20").hide();
		 $("#text6").removeClass("required");
	 }
 }
 
 
 
 
 
 
 
 
 
 

 $(document).ready(function(){
	 showText1( $("#tech_source2_value").val());	 
	 showText2( $("#government_subsidize_value").val());
	 
	 
	 
	 $("input[id^='type1_']").each(function(){
		  showText3($(this));
		   });
	 
	 $("input[id^='type2_']").each(function(){
			showText3($(this));
			});
	 
	 $("input[id^='type3_']").each(function(){
			showText3($(this));
			});
	 
	 $("input[id^='type4_']").each(function(){
			showText3($(this));
			});
	 
	 
	 showText100();
	 });
	 
	 
	 

 function localInitTreeValue(treeId, treeNode) {
		var str = treeNode.name;
		var obj = treeNode.parentNode;
		if (!(treeNode && (treeNode.level > 0 || !treeNode.isParent))) {
			scmWarn($("#" + treeId).attr("label")
					+ messageTip.researchAreaInvalidDisciplineCode);
			return false;
		}
		var showName = "";
		var parentId="";
		if (obj != null) {
		   // str = obj.name + "-" + str;
			//obj = obj.parentNode;
			showName = obj.name;
			parentId=obj.id;
		}
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);

		$("#" + treeId).val(str);
		
		
		$("#researcharea_name").val($("#researcharea_name").val().split("_")[0]);
		
		
		
		
}
 
 
 
 
</script>
	